package com.heihei.domain;

import java.util.Date;

public class Websitesinfo {
    private Integer id;

    private String title;

    private String site;

    private String description;

    private Date editTime;

    private Integer userid;

    private Integer typeid;

    private User user;

    private SiteType siteType;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public SiteType getSiteType() {
        return siteType;
    }

    public void setSiteType(SiteType siteType) {
        this.siteType = siteType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site == null ? null : site.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Websitesinfo{");
        sb.append("id=").append(id);
        sb.append(", title='").append(title).append('\'');
        sb.append(", site='").append(site).append('\'');
        sb.append(", description='").append(description).append('\'');
        sb.append(", editTime=").append(editTime);
        sb.append(", userid=").append(userid);
        sb.append(", typeid=").append(typeid);
        sb.append(", user=").append(user);
        sb.append(", siteType=").append(siteType);
        sb.append('}');
        return sb.toString();
    }
}